package com.typ.member.dao.mapper;

import com.typ.member.dao.model.MemberTradeDto;
import com.typ.member.dao.model.MemberTradeQueryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberTradeDtoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MemberTradeDto record);

    int insertSelective(MemberTradeDto record);

    MemberTradeDto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MemberTradeDto record);

    int updateByPrimaryKey(MemberTradeDto record);

    List<MemberTradeDto> selectByQuery(@Param("query") MemberTradeQueryDto memberTradeQueryDto);

}